package demo2;

/**
 * @Author liangzai
 * @Description:
 */
public class Test {
    public static void main(String[] args) {
        Student student1 = new Student("liuzhi",20,"男","233423");
        Student student2 = new Student();
        student2.name = "huxiangyu";
        student2.id = "123432";
        student2.gender = "女";
        student2.age = 18;
        System.out.println(student1.getInof());
        System.out.println(student2.getInof());

    }

    public static void main1(String[] args) {
        Student student1 = new Student("liu",23,"男","232342");
        Student student2 = new Student("liudd",13,"男","23233342");
        student2.name = "zhangsan";student2.id = "2345656";student2.gender = "女";
        System.out.println(student2.getInof());
        System.out.println(student1.getInof());
    }

}
